<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>All Units</title>
</head>
<body>
 <ul>
  #{list items:unitlist, as:'Unit'}
  	<li><b><a href="@{Units.ViewUnit(Unit.id)}" >${Unit.UnitCode}</a>
  		
  	</b>
  	
 <form action="@{Units.DeleteUnit()}"  method="get">
 <input type="hidden" value=${Unit.id} name="id">
 <input type="submit" Value="Delete">
 </form>
 
 <form action="@{Units.EditUnit()}" method="get">
 <input type="hidden" value="${Unit.id}" name="id">
 <input type="submit" value="Edit">
 </form>
  	
  	</li>
  #{/list}

 </ul>
 
</body>
</html>